package org.grow.mybatisgo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.time.LocalDateTime;
@TableName("DealBill")
public class DealBill {

/*
*
* {
                    dealBillId:0,
                    supplierName:"",
                    consumerName:"",
                    dealScore:5,
                }*/
    @TableId(type = IdType.AUTO)
    private Integer dealBillId;
    private String supplierName;

    private String consumerName;
    private Float dealScore;


    public Integer getDealBillId() {
        return dealBillId;
    }

    public void setDealBillId(Integer dealBillId) {
        this.dealBillId = dealBillId;
    }

    public String getSupplierName() {
        return supplierName;
    }

    public void setSupplierName(String supplierName) {
        this.supplierName = supplierName;
    }

    public String getConsumerName() {
        return consumerName;
    }

    public void setConsumerName(String consumerName) {
        this.consumerName = consumerName;
    }

    public Float getDealScore() {
        return dealScore;
    }

    public void setDealScore(Float dealScore) {
        this.dealScore = dealScore;
    }

    @Override
    public String toString() {
        return "DealBill{" +
                "dealBillId=" + dealBillId +
                ", supplierName='" + supplierName + '\'' +
                ", consumerName='" + consumerName + '\'' +
                ", dealScore=" + dealScore +
                '}';
    }
}
